﻿<%@ Control Language="C#" ClassName="Text_tr"  Inherits="FormField"%>
<%@ Import Namespace="RL" %>
<tr class="inputTr">
    <td class='labelTd'>
        <%=this.Label %>
        <%=RequiredString %>
    </td>
    <td class="inputTd">
        <input  id="<%=ID %>" name="<%=ID %>" type="<%=this.Type %>" value="<%=this.Value %><%=TestingValue %>"
            class="inputCtrl txtCtrl <%=Classes %>" maxlength="<%=(Length>0) ? Length.text():"" %>" />
    </td>
</tr>
<script runat="server">
    string type = "text";
    public string Type {
        get { return type; }
        set { type = value; }
    }
    </script>

<%--table
margin-left:15px;--%>
<%--label td style
style='width:150px;text-align:left;'--%>
<%--control style:--%>
<%--style="float: none;display:inline;"--%>
<%--text,password,select control:--%>
<%--width: 250px; --%>
<%--Error label style
float: none;display:inline;margin-left:22px;--%>